import { UserGetterEnum } from '../../../_/vue/store/user'

export default {
  [UserGetterEnum.TOKEN] (state) {
    return state.token || sessionStorage.getItem('token')
  },
  [UserGetterEnum.USERINFO] (state) {
    return state.user
  }
}
